package com.shenmazong.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TbMessage  implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 消息id
     */
    @TableId(value = "message_id", type = IdType.ID_WORKER)
    private Long messageId;

    /**
     * 文章id
     */
    private Long articleId;

    /**
     * 点赞数
     */
    private Long userId;

    /**
     * 浏览数
     */
    private Long myId;

    /**
     * 创建时间
     */
    private String createTime;


}
